package com.ljh.localmusic.ui

import com.ljh.localmusic.utils.MediaStateEvents

/**
 * author：LJH on 2025/9/16 09:51
 *
 */
sealed interface MusicUiEvent {
    data object PlayPause: MusicUiEvent
    data object SeekToNext: MusicUiEvent
    data object SeekToPrevious: MusicUiEvent
    data class SeekTo(val progress:Long): MusicUiEvent
    data class RefreshMessage(val msg: String): MusicUiEvent
    data object RefreshAiImage: MusicUiEvent
    data object Backward: MusicUiEvent
    data object ReleasePlayer: MusicUiEvent
    data object Forward: MusicUiEvent
    data object Stop: MusicUiEvent
    data object RefreshAutoNext: MusicUiEvent
    data class SelectedMusicChange(val index: Int): MusicUiEvent
    data class MediaProgress(val progress: Float): MusicUiEvent
}